﻿CREATE PROCEDURE [dbo].[database_update]
	@database_id int,
	@owner_user_id int,
	@name varchar(50), 
    @connection_string varchar(200)
as
begin
	update [dbo].[database]
	set
		[owner_user_id] = @owner_user_id,
		[name] = @name,
		[connection_string] = @connection_string
	where [database_id] = @database_id
end

